SET(LIBPROCESS_SRC core.cpp process.cpp klt.cpp calibration.cpp track.cpp face.cpp show.cpp saliency)
ADD_SUBDIRECTORY(klt)
ADD_SUBDIRECTORY(track)

#ADD_LIBRARY(Process SHARED ${LIBPROCESS_SRC})
#SET_TARGET_PROPERTIES(Process PROPERTIES VERSION 1.2 SOVERSION 1)
#SET_TARGET_PROPERTIES(Process PROPERTIES CLEAN_DIRECT_OUTPUT 1)
#TARGET_LINK_LIBRARIES(Process KLT TRACK)

ADD_LIBRARY(Process_static STATIC ${LIBPROCESS_SRC})
SET_TARGET_PROPERTIES(Process_static PROPERTIES OUTPUT_NAME "Process")
SET_TARGET_PROPERTIES(Process_static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
TARGET_LINK_LIBRARIES(Process_static KLT TRACK)

find_path(EIGEN_INCLUDE_PATH "Eigen/Core" PATHS "/usr/local/include/eigen2" "/opt/include/eigen2" "/usr/include/eigen2" 
		DOC "The path to Eigen2/Eigen3 headers")
if(EIGEN_INCLUDE_PATH)
INCLUDE_DIRECTORIES(TRACK ${EIGEN_INCLUDE_PATH}) 
endif()